package com.feng.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.feng.entity.Journal;
import com.feng.util.PageUtil;

@Mapper
public interface IJournalDao {

	List<Journal> findJournals();
	List<Journal> findJournalsByType(String type);
	List<Journal> findJournalsByTypePage(PageUtil<Journal> vo);
	List<Journal> findJournalsByWhere(Journal journal);
	Journal findJournalById(String id);
	int saveJournal(Journal journal);
	int deleteJournalById(String id);
}
